package com.ruiysoft.crm.controller;

import com.ruiysoft.crm.mapper.SysUserMapper;
import com.ruiysoft.crm.entity.SysUser;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class Test {
    @Autowired
    SysUserMapper sysUserMapper;

    @GetMapping("test")
    public String abc() {
        SysUser sysUser = new SysUser();
        sysUser.setLoginCode("15539200629");
        int rtn = sysUserMapper.insert(sysUser);

        return rtn + "";
    }
}
